﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000DB5 RID: 3509
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class QuitWolfBroGameScRsp : IMessage<QuitWolfBroGameScRsp>, IMessage, IEquatable<QuitWolfBroGameScRsp>, IDeepCloneable<QuitWolfBroGameScRsp>, IBufferMessage
	{
		// Token: 0x17002C91 RID: 11409
		// (get) Token: 0x06009D84 RID: 40324 RVA: 0x001A5561 File Offset: 0x001A3761
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<QuitWolfBroGameScRsp> Parser
		{
			get
			{
				return QuitWolfBroGameScRsp._parser;
			}
		}

		// Token: 0x17002C92 RID: 11410
		// (get) Token: 0x06009D85 RID: 40325 RVA: 0x001A5568 File Offset: 0x001A3768
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return QuitWolfBroGameScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002C93 RID: 11411
		// (get) Token: 0x06009D86 RID: 40326 RVA: 0x001A557A File Offset: 0x001A377A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return QuitWolfBroGameScRsp.Descriptor;
			}
		}

		// Token: 0x06009D87 RID: 40327 RVA: 0x001A5581 File Offset: 0x001A3781
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitWolfBroGameScRsp()
		{
		}

		// Token: 0x06009D88 RID: 40328 RVA: 0x001A558C File Offset: 0x001A378C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitWolfBroGameScRsp(QuitWolfBroGameScRsp other) : this()
		{
			this.wolfBroInfo_ = ((other.wolfBroInfo_ != null) ? other.wolfBroInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009D89 RID: 40329 RVA: 0x001A55D8 File Offset: 0x001A37D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public QuitWolfBroGameScRsp Clone()
		{
			return new QuitWolfBroGameScRsp(this);
		}

		// Token: 0x17002C94 RID: 11412
		// (get) Token: 0x06009D8A RID: 40330 RVA: 0x001A55E0 File Offset: 0x001A37E0
		// (set) Token: 0x06009D8B RID: 40331 RVA: 0x001A55E8 File Offset: 0x001A37E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroInfo WolfBroInfo
		{
			get
			{
				return this.wolfBroInfo_;
			}
			set
			{
				this.wolfBroInfo_ = value;
			}
		}

		// Token: 0x17002C95 RID: 11413
		// (get) Token: 0x06009D8C RID: 40332 RVA: 0x001A55F1 File Offset: 0x001A37F1
		// (set) Token: 0x06009D8D RID: 40333 RVA: 0x001A55F9 File Offset: 0x001A37F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06009D8E RID: 40334 RVA: 0x001A5602 File Offset: 0x001A3802
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as QuitWolfBroGameScRsp);
		}

		// Token: 0x06009D8F RID: 40335 RVA: 0x001A5610 File Offset: 0x001A3810
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(QuitWolfBroGameScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.WolfBroInfo, other.WolfBroInfo) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009D90 RID: 40336 RVA: 0x001A5660 File Offset: 0x001A3860
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.wolfBroInfo_ != null)
			{
				num ^= this.WolfBroInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009D91 RID: 40337 RVA: 0x001A56B5 File Offset: 0x001A38B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009D92 RID: 40338 RVA: 0x001A56BD File Offset: 0x001A38BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009D93 RID: 40339 RVA: 0x001A56C8 File Offset: 0x001A38C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this.wolfBroInfo_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.WolfBroInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009D94 RID: 40340 RVA: 0x001A5724 File Offset: 0x001A3924
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.wolfBroInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.WolfBroInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009D95 RID: 40341 RVA: 0x001A577C File Offset: 0x001A397C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(QuitWolfBroGameScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.wolfBroInfo_ != null)
			{
				if (this.wolfBroInfo_ == null)
				{
					this.WolfBroInfo = new WolfBroInfo();
				}
				this.WolfBroInfo.MergeFrom(other.WolfBroInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009D96 RID: 40342 RVA: 0x001A57E4 File Offset: 0x001A39E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009D97 RID: 40343 RVA: 0x001A57F0 File Offset: 0x001A39F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					if (num != 106U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.wolfBroInfo_ == null)
						{
							this.WolfBroInfo = new WolfBroInfo();
						}
						input.ReadMessage(this.WolfBroInfo);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003CC7 RID: 15559
		private static readonly MessageParser<QuitWolfBroGameScRsp> _parser = new MessageParser<QuitWolfBroGameScRsp>(() => new QuitWolfBroGameScRsp());

		// Token: 0x04003CC8 RID: 15560
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003CC9 RID: 15561
		public const int WolfBroInfoFieldNumber = 13;

		// Token: 0x04003CCA RID: 15562
		private WolfBroInfo wolfBroInfo_;

		// Token: 0x04003CCB RID: 15563
		public const int RetcodeFieldNumber = 10;

		// Token: 0x04003CCC RID: 15564
		private uint retcode_;
	}
}
